Optimal. Leaf size=104 \[ -\frac {(a e+c d x) (f+g x)^{1+n} \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2} \, _2F_1\left (1,\frac {5}{2}+n;2+n;\frac {c d (f+g x)}{c d f-a e g}\right )}{(c d f-a e g) (1+n) \sqrt {d+e x}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 120, normalized size of antiderivative = 1.15, number of steps
used = 3, number of rules used = 3, integrand size = 46, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.065, Rules used = {905, 72, 71}
\begin {gather*} \frac {2 (f+g x)^n (a e+c d x) \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2} \left (\frac {c d (f+g x)}{c d f-a e g}\right )^{-n} \, _2F_1\left (\frac {3}{2},-n;\frac {5}{2};-\frac {g (a e+c d x)}{c d f-a e g}\right )}{3 c d \sqrt {d+e x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 71
Rule 72
Rule 905
Rubi steps
\begin {align*} \int \frac {(f+g x)^n \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}{\sqrt {d+e x}} \, dx &=\frac {\sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2} \int \sqrt {a e+c d x} (f+g x)^n \, dx}{\sqrt {a e+c d x} \sqrt {d+e x}}\\ &=\frac {\left ((f+g x)^n \left (\frac {c d (f+g x)}{c d f-a e g}\right )^{-n} \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}\right ) \int \sqrt {a e+c d x} \left (\frac {c d f}{c d f-a e g}+\frac {c d g x}{c d f-a e g}\right )^n \, dx}{\sqrt {a e+c d x} \sqrt {d+e x}}\\ &=\frac {2 (a e+c d x) (f+g x)^n \left (\frac {c d (f+g x)}{c d f-a e g}\right )^{-n} \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2} \, _2F_1\left (\frac {3}{2},-n;\frac {5}{2};-\frac {g (a e+c d x)}{c d f-a e g}\right )}{3 c d \sqrt {d+e x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.14, size = 100, normalized size = 0.96 \begin {gather*} \frac {2 ((a e+c d x) (d+e x))^{3/2} (f+g x)^n \left (\frac {c d (f+g x)}{c d f-a e g}\right )^{-n} \, _2F_1\left (\frac {3}{2},-n;\frac {5}{2};\frac {g (a e+c d x)}{-c d f+a e g}\right )}{3 c d (d+e x)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.05, size = 0, normalized size = 0.00 \[\int \frac {\left (g x +f \right )^{n} \sqrt {a d e +\left (a \,e^{2}+c \,d^{2}\right ) x +c d e \,x^{2}}}{\sqrt {e x +d}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (f+g\,x\right )}^n\,\sqrt {c\,d\,e\,x^2+\left (c\,d^2+a\,e^2\right )\,x+a\,d\,e}}{\sqrt {d+e\,x}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________